<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第八组的git作业</title>
    <link rel="stylesheet" href="./lib/bootstrap-3.4.1-dist/css/bootstrap.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .father {
            width: 800px;
            margin: 100px auto;
            display: flex;
            justify-content: space-evenly;
        }
    </style>
</head>

<body>
    <!-- 要求：在index.html中自增一个div 增加自己的样式，点击弹出自己的名字 -->
    <div class="father">
        <div>
            LZB
            <button class="a001 btn btn-primary">点击</button>
        </div>
        <div>
            PVV
            <button class="pvv btn btn-success">点击</button>
        </div>
        <div>
            WYQ
            <button class="wyq btn btn-info">点击</button>
        </div>
        <div>
            XQW
            <button class="xqw btn btn-warning">点击</button>
        </div>
        <div>
            HHS
            <button class="hhs btn btn-danger">点击</button>
        </div>
        <div>
            ZHS
            <button class="zhe btn btn-default">点击</button>
        </div>
    </div>
    <script>
        const button = document.querySelector('.hhs');
        button.addEventListener('click', function () {
            confirm('麻楞烦')
        })
        const xx = document.querySelector('.xqw')
        xx.addEventListener('click', function () {
            alert('小谢')
        })
        const btnW = document.querySelector('.wyq')
        btnW.addEventListener('click', function () {
            alert('温玉秋')
        })
        let pvv = document.querySelector('.pvv')
        pvv.addEventListener('click', function () {
            alert('彭伟维')
        })
        let btn_1 = document.querySelector('.a001')
        btn_1.addEventListener('click', function () {
            alert('梁志斌')
        })
        let zhe = document.querySelector('.zhe')
        zhe.addEventListener('click', function () {
            alert('郑鸿生')
        })
    </script>
</body>

</html>